package com.mdd.common.entity.yangyangLeadingEnterprise.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AppCourseParam implements Serializable {

    @ApiModelProperty(value = "排序规则（1：按照播放次数进行排序；2：创建时间；）")
    @JsonProperty("orderByType")
    private Integer orderByType;

    @ApiModelProperty(value = "查询数量")
    @JsonProperty("amount")
    private Integer amount;

    @ApiModelProperty(value = "类型（1：热门课程；2：其他课程；）")
    private Integer type;

}
